æòÅⁿâoâiü[

Controlling Code Execution in the Script Debugger Window


    This section describes the buttons that control the execution of code when the Script Debugger window is active. Most of these buttons also provide a keyboard shortcut available as a Ctrl-key combination on Windows platforms or a Cmd-key combination on Mac OS platforms.

    Resume Cmd-R (Mac OS) Ctrl-R (Windows)
    Resume Cmd-R (Mac OS) Ctrl-R (Windows)
    Resume execution of the script with the script debugger window open. When the script terminates, the application closes the script debugger window automatically. Closing the debugger window manually also causes script execution to resume. This button is enabled when script execution is paused or stopped.
    Pause Cmd-P (Mac OS) Ctrl-P (Windows)
    Pause Cmd-P (Mac OS) Ctrl-P (Windows)
    Halt the currently executing script temporarily and reactivate the script debugger window. This button is enabled when a script is running.
    Stop Cmd-K (Mac OS) Ctrl-K (Windows)
    Stop Cmd-K (Mac OS) Ctrl-K (Windows)
    Stop execution of the script and generate a runtime error. This button is enabled when a script is running.
    Step Over Cmd-S (Mac OS) Ctrl-S (Windows)
    Step Over Cmd-S (Mac OS) Ctrl-S (Windows)
    Halt after executing a single JavaScript statement in the script; if the statement calls a JavaScript function, execute the function in its entirety before stopping.
    Step Into Cmd-T (Mac OS) Ctrl-T (Windows)
    Step Into Cmd-T (Mac OS) Ctrl-T (Windows)
    Halt after executing a single JavaScript statement in the script or after executing a single statement in any JavaScript function that the script calls.
    Step Out Cmd-U (Mac OS) Ctrl-U (Windows)
    Step Out Cmd-U (Mac OS) Ctrl-U (Windows)
    When the debugger is paused within the body of a JavaScript function, clicking this button resumes script execution until the function returns. When paused outside the body of a function, clicking this button resumes script execution until the script terminates.
    Script Breakpoints Display (no keyboard shortcut)
    Script Breakpoints Display (no keyboard shortcut)
    Clicking this button displays the Script Breakpoints Window shown below.